﻿using System;


namespace ThePresenter.Polls.Data
{
	[Serializable]
	public class YesNoAnswerData : AnswerData
	{
		#region Fields
		bool? _Result;
		#endregion


		#region Properties
		/// <summary>
		/// Gets or sets the result.
		/// </summary>
		/// <value>The result.</value>
		public bool? Result
		{
			get
			{
				return _Result;
			}
			set
			{
				if (value != _Result)
				{
					_Result = value;
					OnPropertyChanged("Result");
				}
			}
		}
		#endregion
	}
}
